package com.ruoyi.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.business.domain.MemberCard;

import java.util.List;

public interface MemberCardMapper extends BaseMapper<MemberCard> {

    /**
     * 查询所有会员列表
     * @return Member集合
     */
    public List<MemberCard> selectAllMemberCardList();
    /**
     * 查询Member列表
     *
     * @param memberCard MemberCard
     * @return Member集合
     */
    public List<MemberCard> selectMemberCardList(MemberCard memberCard);

    public MemberCard selectMemberCardById(Long id);

    /**
     * 更新Member数据
     *
     * @param memberCard MemberCard
     */

    public int insertMemberCard(MemberCard memberCard);

    /**
     * 更新Member数据
     *
     * @param memberCard memberCard
     */
    public int updateMemberCard(MemberCard memberCard);

    public int deleteMemberCardByIds(Long[] ids);
}
